package com.valuegroup.smarttodo.data.model;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.NotNull;

import java.io.Serializable;
import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 理想成长历史
 */
@Entity
public class IdealityGrowHis implements Serializable {
    private static final long serialVersionUID = -4002334930891510338L;
    @Id(autoincrement = true)
    private Long id;
    private Long ideaId;
    // 事件类型
    private String eventType;
    // 事件分值
    private Double eventValue;
    @NotNull
    private Date createdDt;
    @Generated(hash = 1503082556)
    public IdealityGrowHis(Long id, Long ideaId, String eventType,
            Double eventValue, @NotNull Date createdDt) {
        this.id = id;
        this.ideaId = ideaId;
        this.eventType = eventType;
        this.eventValue = eventValue;
        this.createdDt = createdDt;
    }
    @Generated(hash = 18436542)
    public IdealityGrowHis() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public Long getIdeaId() {
        return this.ideaId;
    }
    public void setIdeaId(Long ideaId) {
        this.ideaId = ideaId;
    }
    public String getEventType() {
        return this.eventType;
    }
    public void setEventType(String eventType) {
        this.eventType = eventType;
    }
    public Double getEventValue() {
        return this.eventValue;
    }
    public void setEventValue(Double eventValue) {
        this.eventValue = eventValue;
    }
    public Date getCreatedDt() {
        return this.createdDt;
    }
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }
}
